<template>
  <div>
    <h1>chpeng</h1>
  </div>
</template>

<script setup>
import { useEventBus } from "@vueuse/core";
const bus = useEventBus("news");
function listener(event) {
  console.log(`news: event`);
}
const unsubscribe = bus.on(listener);
</script>
